﻿namespace Useful.MVP2
{
    public interface IListViewT<ListT, ItemT> : IListView
        where ItemT : class, new()
    {
        ListT ListDataSourceT { get; set; }
        ItemT GetCurrentItemT();

        //void Init(IRepository<ListT, ItemT> repository, bool allowView, bool allowAdd, bool allowEdit, bool allowDelete);
    }
}
